#ifndef DRAGDROPWIDGET_H
#define DRAGDROPWIDGET_H

#include <QFrame>

class QDragEnterEvent;
class QDropEvent;

class DragDropWidget : public QFrame
{
public:
    DragDropWidget(QWidget *parent=0);

protected:
    void dragEnterEvent(QDragEnterEvent *event);
    void dragMoveEvent(QDragMoveEvent *event);
    void dropEvent(QDropEvent *event);
    void mousePressEvent(QMouseEvent *event);
private:
    bool retirer_item(QDropEvent*);
};

#endif
